/*
 * DaoMethods.java
 *
 * Created on 3 marzec 2007, 13:18
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package arocms.business;

import java.util.List;

/**
 *
 * @author arek
 */
public interface DaoMethods<T> {
    public T createOrUpdate(T obj);
    public T create(T obj);
    public T update(T obj);
    public T find(Long pk);
    public List<T> findAll();
    public boolean delete(Long pk);
    public boolean delete(T obj);
}
